github.com/andybalholm/brotli/flate.huffmanBitWriter.nbits (field)
17 uses
github.com/andybalholm/brotli/flate (current package)
huffman_bit_writer.go#L70: nbits uint
huffman_bit_writer.go#L92: w.bits, w.nbits = 0, 0
huffman_bit_writer.go#L97: for w.nbits != 0 {
huffman_bit_writer.go#L100: if w.nbits > 8 { // Avoid underflow
huffman_bit_writer.go#L101: w.nbits -= 8
huffman_bit_writer.go#L103: w.nbits = 0
huffman_bit_writer.go#L111: w.bits |= uint64(b) << w.nbits
huffman_bit_writer.go#L112: w.nbits += nb
huffman_bit_writer.go#L113: if w.nbits >= 48 {
huffman_bit_writer.go#L116: w.nbits -= 48
huffman_bit_writer.go#L129: if w.nbits&7 != 0 {
huffman_bit_writer.go#L132: for w.nbits != 0 {
huffman_bit_writer.go#L135: w.nbits -= 8
huffman_bit_writer.go#L280: w.bits |= uint64(c.code) << w.nbits
huffman_bit_writer.go#L281: w.nbits += uint(c.len)
huffman_bit_writer.go#L282: if w.nbits >= 48 {
huffman_bit_writer.go#L285: w.nbits -= 48
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |